package com.yang.consumer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

/**
 * @author ：YangRan
 * @date ：Created in 2021/11/21 15:30
 * @description：启动类
 * @modified By：
 * @version: 1.0
 */
@SpringBootApplication(scanBasePackages={"com.yang.**"})
@EnableCaching
@EnableRedisHttpSession
@EnableDiscoveryClient
@EnableFeignClients
public class ConsumerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ConsumerApplication.class, args);
    }
}
